package com.xiaolong.cloud.feign.exception;

import com.xiaolong.common.exception.BusinessException;

import java.io.Serial;

public class FeignException extends BusinessException {
    @Serial
    private static final long serialVersionUID = -9033297801252565259L;

    public FeignException() {
        this.setCode(1100);
    }


    public FeignException(String message) {
        super(message);
        this.setCode(1100);
    }


    public FeignException(Throwable cause) {
        super(cause);
        this.setCode(1100);
    }

    public FeignException(String message, Throwable cause) {
        super(message, cause);
        this.setCode(1100);
    }

}
